package com.flowerSystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.flowerSystem.entity.Producttype;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ProductInformation对象", description = "")
public class Productinformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("花名")
    private String flowerName;

    @ApiModelProperty("单价")
    private Object price;

    @ApiModelProperty("花语")
    private String flowerLanguage;

    @ApiModelProperty("图片路径")
    private String img;

    @ApiModelProperty("是否热销")
    private Integer hot;

//    @ApiModelProperty("订单数量")
//    private Integer orderCount;

    @ApiModelProperty("商品描述")
    private String discribe;

    @ApiModelProperty("产品状态")
    private Integer productInformationStatus;

    @ApiModelProperty("产品分类表id")
    private Producttype producttype;

    @ApiModelProperty("商品总数")
    private Integer amount;

    @TableLogic
    @ApiModelProperty("逻辑删除字段")
    private Integer isDeleted;
}
